﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLToolkit.Data;
using BLToolkit.Common;
using BLToolkit.DataAccess;
using BLToolkit.Mapping;

namespace Mc.Fe.Entities
{
    [TableName("FAC04_FECONTROL")]
    public class Documento
    {
        [MapField("FAC04CODEMP"), PrimaryKey(0)]
        public string CodigoEmpresa { get; set; }
        [MapField("FAC01COD"), PrimaryKey(1)]
        public string CodigoTipoDocumento { get; set; }
        [MapField("FAC04NUMDOC"), PrimaryKey(2)]
        public string NroDocumento { get; set; }
        [MapField("FAC04ESTADO")]
        public string Estado { get; set; }
        [MapField("FAC04FECENVIO")]
        public Nullable<DateTime> FechaEnvio { get; set; }
        [MapField("FAC04REFERENCIAID")]
        public string ReferenciaId { get; set; }
        [MapField("FAC04FECRESP")]
        public Nullable<DateTime> FechaRespuesta { get; set; }
    }
}
